package genetic;

public abstract class Terminal extends TreeNode{

	@Override
	public void updateTotalKids() {
		totalKids = 0;	
		this.depth = 0;
	}
	@Override
	public boolean isFunction() {
		return false;
	}
	
	@Override
	public String toString() {
		return getName();
	}

	public void setIndexes(int start, int end){		
		super.setID(start);
	}

	public int getMaxDepth(){
		return 1;
	}
}
